function Fn(){
    var test1 =function(){
        console.log('test1 Fn')
    }
}
Fn.prototype.test=function(){
    console.log('test')
}

var  fn = new Fn()

console.log(fn)
console.log(Fn)